.PHONY:all
all:servermain clientmain

servermain:servermain.cc
	g++ -o $@ $^ -std=c++11 -lpthread
clientmain:clientmain.cc
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm servermain clientmain